package com.xywl.escort.view.order.search;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class SearchOrderModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract SearchOrderActivity searchOrderActivity();

    @ActivityScoped
    @Binds
    abstract SearchOrderContract.Presenter searchOrderPresenter(SearchOrderPresenter presenter);
}
